package com.dc.refactoring._2_在对象之间搬移特性._1_MoveMethod.oldObject;

import java.util.Random;

/**
 * Description: 搬移函数_账户类型
 * @author: gdc
 * @date: 2020/11/14
 * @version 1.0
 */
public class AccountType {

    /**
     * 是否为高级
     */
    public boolean isPremium() {
        return new Random().nextBoolean();
    }
}
